import Vue from 'vue'
import App from './App.vue'
import router from './router'
import 'element-ui/lib/theme-chalk/index.css'
import { Carousel,
  CarouselItem,
  Pagination,
  Form,
  FormItem,
  Input,
  Button,
  Message,
  Upload,
  Table,
  TableColumn
} from 'element-ui';
Vue.component(Carousel.name, Carousel);
Vue.component(CarouselItem.name, CarouselItem);
Vue.component(Pagination.name, Pagination);
Vue.component(Form.name, Form);
Vue.component(FormItem.name, FormItem);
Vue.component(Input.name, Input);
Vue.component(Button.name, Button);
Vue.component(Upload.name, Upload);
Vue.component(Table.name, Table);
Vue.component(TableColumn.name, TableColumn);
Vue.prototype.$message = Message;
Vue.config.productionTip = false;


new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
